package com.springbootblog.dao.sqlBuilder;

import java.util.Map;

public class ToolsSqlBuilder
{
    public String getToolsListByCategoryId(Map<String, Object> param)
    {
        return "select * from tools where category_id = '"+param.get("category_id")+"' AND status = 0 ";
    }

    public String getToolsCategoryList(Map<String, Object> param)
    {
        return "select * from tools_category where status = 0 ";
    }
}
